using System;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 销售订单明细DTO（用于销售退货场景）
    /// </summary>
    public class SalesOrderDetailForReturnDto
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int RowNumber { get; set; }

        /// <summary>
        /// 销售订单明细ID
        /// </summary>
        public long ShopOrderDetailId { get; set; }

        /// <summary>
        /// 货品ID
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodsCode { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecModel { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public long? UnitId { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }

        /// <summary>
        /// 销售单价
        /// </summary>
        public decimal SalesPrice { get; set; }

        /// <summary>
        /// 销售数量
        /// </summary>
        public int SalesQuantity { get; set; }

        /// <summary>
        /// 销售金额
        /// </summary>
        public decimal SalesAmount { get; set; }

        /// <summary>
        /// 已出库数量
        /// </summary>
        public int StockOutQuantity { get; set; }

        /// <summary>
        /// 未出库数量
        /// </summary>
        public int UnstockOutQuantity { get; set; }
    }
}

